package com.erp.itm.service;

import com.erp.itm.domain.ProjectDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 项目管理
 * 
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-07-17 20:36:10
 */
public interface ProjectService {
	
	ProjectDO get(Long id);
	
	List<ProjectDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProjectDO project);
	
	int update(ProjectDO project);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	List<ProjectDO> getNotEndProjectlist();

    int updatereceivedAmount(BigDecimal receiptAmount, Long projectId);

	int updateinvoiceAmount(BigDecimal invoiceAmount, Long projectId);

    List<String> getCustName();

    List<ProjectDO> getProjectlistByStatus(Long id);
}
